<?php
	require_once("action/CommonAction.php");
	require_once("action/DAO/AccueilDAO.php");

	class AdminAccueilAction extends CommonAction {
	
		public function __construct() {
			parent::__construct(1);
		}
		
		public function execute() {
			parent::execute();
			
			if(isset($_POST["editor2"])){
				SetTextAccueilDAO::ajouter($_POST["editor1"]);
			}
						if(isset($_POST["editor2"])){
				SetTextAccueilDAO::ajouter($_POST["editor1"]);
			}
			
		}
	
}


